package com.rickpan.dto.share;

/**
 * 分享访问请求DTO
 * 
 * @author RickPan Team
 * @since 2025-01-05
 */
public class ShareAccessRequest {

    /**
     * 访问密码 (当分享类型为PASSWORD时需要)
     */
    private String password;

    /**
     * 操作类型 (VIEW, DOWNLOAD)
     */
    private String action = "VIEW";

    // 构造函数
    public ShareAccessRequest() {}

    // Getter 和 Setter 方法
    public String getPassword() { return password; }
    public void setPassword(String password) { this.password = password; }

    public String getAction() { return action; }
    public void setAction(String action) { this.action = action; }
}
